﻿using Abp.AutoMapper;
using Basefr.App.Dtos;
using Paas.Core.Const.Enums;
using Paas.Core.MetaForms.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Paas.App.Interface.MetaForms.Dtos
{
    [AutoMap(typeof(MetaForm))]
    public class MetaFormDto : DtoBase<Guid>
    {
        /// <summary>
        /// 表单所属元对象id
        /// </summary>
        public string ObjectId { get; set; }

        /// <summary>
        /// 表单英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表单的显示名称，默认中文
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 元数据状态
        /// </summary>
        public MetaStatus? CurrentStatus { get; set; }

        /// <summary>
        /// 分组
        /// </summary>
        public string MetaGroup { get; set; }

        /// <summary>
        /// 表单类型
        /// </summary>
        public MetaFormType? MetaFormType { get; set; }
    }
}
